# -*- coding: UTF-8 -*-
from datetime import timedelta

import conf


class Config(object):
    DEBUG = False
    PORT = conf.http_port
    ERROR_LOG = "../logs/http_err.log"
    INFO_LOG = "../logs/http.log"
    REMOTE_HOST = conf.REMOTE_HOST
    REMOTE_PWD = conf.REMOTE_PWD
    SECRET_KEY = '234324234'
    JWT_SECRET_KEY = "super-secret"
    JWT_BLACKLIST_TOKEN_CHECKS = ["access", "refresh"]
    JWT_ACCESS_TOKEN_EXPIRES = timedelta(seconds=6000)
    JWT_REFRESH_TOKEN_EXPIRES = timedelta(seconds=6000)
    default_password = '123456'
